package com.example.hf_v1.service;

import com.example.hf_v1.entity.Recharge;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hf_v1.entity.Vo.RechargeVo;

import java.util.List;

/**
 * <p>
 * 充值表
 服务类
 * </p>
 *
 * @author 浪花骑士
 * @since 2024-08-07
 */
public interface IRechargeService extends IService<Recharge> {

    boolean updateRecharge(Recharge recharge);

    List<RechargeVo> selectAllRecharge();

    List<RechargeVo> selectAllRechargeById(Integer id);
    List<RechargeVo> selectAllRechargeByTime(String time);

    int saveAndUpdate(Recharge recharge);


}
